Skip to main content
GET
/
api
/
v3
/
checkout
/
sessions
List checkout sessions [V3]
curl --request GET \
  --url https://api.loops.fi/api/v3/checkout/sessions \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "object": "checkout.session",
      "amount_subtotal": 123,
      "amount_total": 123,
      "automatic_tax": {
        "enabled": true,
        "status": "complete"
      },
      "billing_address_collection": "auto",
      "cancel_url": "<string>",
      "client_reference_id": "<string>",
      "currency": "<string>",
      "customer": "<string>",
      "customer_email": "jsmith@example.com",
      "expires_at": 123,
      "livemode": true,
      "locale": "<string>",
      "metadata": {},
      "mode": "payment",
      "payment_intent": "<string>",
      "payment_method_types": [
        "<string>"
      ],
      "payment_status": "paid",
      "setup_intent": "<string>",
      "shipping": {
        "address": {
          "city": "<string>",
          "country": "<string>",
          "line1": "<string>",
          "line2": "<string>",
          "postal_code": "<string>",
          "state": "<string>"
        },
        "name": "<string>",
        "phone": "<string>"
      },
      "submit_type": "auto",
      "success_url": "<string>",
      "total_details": {
        "amount_discount": 123,
        "amount_shipping": 123,
        "amount_tax": 123
      },
      "url": "<string>",
      "productName": "<string>",
      "externalCustomerId": "<string>"
    }
  ],
  "has_more": true,
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication using Bearer token

Query Parameters

status
enum<string>

Filter by session status

Available options:
PENDING,
COMPLETED,
EXPIRED,
CANCELLED
limit
number
default:10

Number of sessions to return

Required range: 1 <= x <= 100
starting_after
string

Cursor for pagination

Response

Default Response

object
enum<string>
required

String representing the object's type

Available options:
list
data
object[]
required

An array of objects

has_more
boolean
required

Whether there are more objects available after this set

url
string

The URL to access this list

I